Ext.application({
    requires: ['Ext.container.Viewport','ES.view.main.Main','ES.controller.search.SearchController','ES.controller.component.ComponentController','ES.controller.component.CompDetailController','ES.controller.upload.UploadController'],
    name: 'ES',
    appFolder: 'app',
    controllers:['search.SearchController','component.ComponentController','ES.controller.component.CompDetailController','ES.controller.upload.UploadController','ES.controller.archives.ArchivesController'],
    launch: function() {
        Ext.create('Ext.container.Viewport', {
            autoScroll:true,
            overflowY:'auto',
            items: [
                {
                	xtype:'maincomp',
                	minHeight:600,
            		minWidth:1280
                }
            ]
        });
    }
});
//1280*600